//=============================================================================
// MIC.
//=============================================================================
class TFMIC extends TFIonPainter;

#exec OBJ LOAD FILE=XGameShaders.utx
#exec obj load file=..\Sounds\MenuSounds.uax

simulated function Tick(float dt)
{
    if(!HasAmmo())
	{
	    tfpri(pawn(owner).playerreplicationinfo).usedcredits -=800;
        DetachFromPawn(instigator);
        Instigator.DeleteInventory(self);
        instigator.controller.SwitchToBestWeapon();
        Destroy();
    }
}

defaultproperties
{
     ArrowColor=(G=0,R=125)
     FocusColor=(B=0,G=255,R=0)
     FireModeClass(0)=class'Taskforces.TFMICFire'
     Description="A personnal ion blast emitter."
     Priority=49
     ItemName="Mobile Ion Cannon"
     InventoryGroup=0
     GroupOffset=4
     bDoAmmoRegen=False
     SkillCost=800
}
